<%@ Control Language="C#" AutoEventWireup="true" Inherits="Admin_Controls_AddUser" Codebehind="AddUser.ascx.cs" %>
&nbsp;&nbsp;<asp:ValidationSummary ID="ValidationSummary1" runat="server" Width="280px" />
<br />
<table>
    <tr>
        <td style="width: 121px">
            <asp:Label ID="Label1" runat="server" Text="First Name"></asp:Label></td>
        <td style="width: 109px">
            <asp:TextBox ID="txtFirstName" runat="server"></asp:TextBox></td>
        <td style="width: 477px">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtFirstName"
                ErrorMessage="Please enter a first name">*</asp:RequiredFieldValidator></td>
    </tr>
    <tr>
        <td style="width: 121px">
            <asp:Label ID="Label2" runat="server" Text="Last Name"></asp:Label></td>
        <td style="width: 109px">
            <asp:TextBox ID="txtLastName" runat="server"></asp:TextBox></td>
        <td style="width: 477px">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtLastName"
                ErrorMessage="Please enter a last name">*</asp:RequiredFieldValidator></td>
    </tr>
    <tr>
        <td style="width: 121px; height: 26px;">
            <asp:Label ID="Label3" runat="server" Text="Email"></asp:Label></td>
        <td style="width: 109px; height: 26px;">
            <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox></td>
        <td style="width: 477px; height: 26px;">
            <asp:RequiredFieldValidator
                    ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtEmail" ErrorMessage="Please enter an Email Address">*</asp:RequiredFieldValidator>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEmail"
                ErrorMessage="Please enter a valid email address" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">*</asp:RegularExpressionValidator></td>
    </tr>
    <tr>
        <td style="width: 121px">
            <asp:Label ID="Label4" runat="server" Text="Addess 1"></asp:Label></td>
        <td style="width: 109px">
            <asp:TextBox ID="txtAddr1" runat="server"></asp:TextBox></td>
        <td style="width: 477px">
        </td>
    </tr>
    <tr>
        <td style="width: 121px">
            <asp:Label ID="Label5" runat="server" Text="Address 2"></asp:Label></td>
        <td style="width: 109px">
            <asp:TextBox ID="txtAddr2" runat="server"></asp:TextBox></td>
        <td style="width: 477px">
        </td>
    </tr>
    <tr>
        <td style="width: 121px">
            <asp:Label ID="Label7" runat="server" Text="City"></asp:Label></td>
        <td style="width: 109px">
            <asp:TextBox ID="txtCity" runat="server"></asp:TextBox></td>
        <td style="width: 477px">
        </td>
    </tr>
    <tr>
        <td style="width: 121px">
            <asp:Label ID="Label6" runat="server" Text="State"></asp:Label></td>
        <td style="width: 109px">
            <asp:TextBox ID="txtState" runat="server"></asp:TextBox></td>
        <td style="width: 477px">
        </td>
    </tr>
    <tr>
        <td style="width: 121px">
            <asp:Label ID="Label8" runat="server" Text="Zip"></asp:Label></td>
        <td style="width: 109px">
            <asp:TextBox ID="txtZip" runat="server"></asp:TextBox></td>
        <td style="width: 477px">
        </td>
    </tr>
    <tr>
        <td style="width: 121px">
            <asp:Label ID="phonelbl" runat="server" Text="Phone Number"></asp:Label></td>
        <td style="width: 109px">
            <asp:TextBox ID="txtPhone" runat="server"></asp:TextBox></td>
        <td style="width: 477px">
            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txtPhone"
                ErrorMessage="Phone number must be valid" ValidationExpression="((\(\d{3}\) ?)|(\d{3}-))?\d{3}-\d{4}">*</asp:RegularExpressionValidator></td>
    </tr>
    <tr>
        <td style="width: 121px">
            <asp:Label ID="Label9" runat="server" Text="Username"></asp:Label></td>
        <td style="width: 109px">
            <asp:TextBox ID="txtUsername" runat="server"></asp:TextBox></td>
        <td style="width: 477px">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtUsername"
                ErrorMessage="Please enter a username">*</asp:RequiredFieldValidator></td>
    </tr>
    <tr>
        <td style="width: 121px">
            <asp:Label ID="Label10" runat="server" Text="Password"></asp:Label></td>
        <td style="width: 109px">
            <asp:TextBox ID="txtPass1" runat="server"></asp:TextBox></td>
        <td style="width: 477px">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtPass1"
                ErrorMessage="Please enter a password">*</asp:RequiredFieldValidator></td>
    </tr>
    <tr>
        <td style="width: 121px">
            <asp:Label ID="Label11" runat="server" Text="Confirm Password"></asp:Label></td>
        <td style="width: 109px">
            <asp:TextBox ID="txtPass2" runat="server" ></asp:TextBox></td>
        <td style="width: 477px">
            <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtPass2"
                ControlToValidate="txtPass1" ErrorMessage="Passwords must match">*</asp:CompareValidator></td>
    </tr>
    <tr>
        <td style="width: 121px; height: 24px">
            <asp:Label ID="Label12" runat="server" Text="User Type"></asp:Label></td>
        <td style="width: 109px; height: 24px">
            <asp:DropDownList ID="ddlType" runat="server">
            </asp:DropDownList></td>
        <td style="width: 477px; height: 24px">
        </td>
    </tr>
</table>
<br />
<br />
<asp:Button ID="Button1" runat="server" Text="Add User" OnClick="Button1_Click" />

